
package com.craterhill.java.ems.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.craterhill.java.ems.common.beans.SchoolLevel;
import com.craterhill.java.ems.dao.SchoolLevelDao;
import com.craterhill.java.ems.service.SchoolLevelService;

@Service
public class SchoolLevelServiceImpl implements SchoolLevelService {

	@Autowired
	private SchoolLevelDao schoolLevelDao;

	@Override
	public List<SchoolLevel> getSchoolLevels() {
		return schoolLevelDao.findAll();
	}
}
